package com.banyiyi.simple.pattern.visitor;

/**
 * @ClassName Visitor
 * @Description TODO
 * @Author yangwm
 * @Date 2023/2/23 18:00
 * @Version 1.0
 */
public interface Visitor {

    // 添加可访问的元素对象
    public void visit(StudentElement element);
    public void visit(TeacherElement element);
}
